Automatic query on input changes, but for some inputs only