IBM used tons of relays back in the olden days and we never thought of filtering. Even the original TTL and DTL logic using discrete transistors on cards was pretty noise tolerant. It was when we got to miniaturized electronics on chips with fairly low currents and low voltages that the problem arose.