Fix bugs in integer pre-validation quick search

Fixed a bug in the regex which prevalidates integer columns for
quick-search which caused it to always fail.

Also added fall-back for when all active columns fail pre-validation
so that 0 rows are returned instead of all rows returned