Fix TypeError for empty field queries

If a field manages to have no valid queries for a field in the table
(such as searching for a string that doesn't conform to any valid date
format), the code would end up performing a reduce() operation on an
empty list of field queries, with no initial value, which raises an
error.