Fix resetInput to not confuse readInput when prim sel is empty but secondary is not

Closes #2172
Closes #2173
Closes #2174