Fixed incorrect SQL counts generated by using ORs in search