Added an exception when trying to query with a single filter.