Fix bugs in search rule matching