Fix out of bounds array reference (off by 1) when validating a maximum line number on a multiplexer