Fix so that a present but empty select parameter in queries no longer yields
an error.