Made select()'s parameter validation a little smarter

Wasn't considering NULLs as scalars.