Prepending where to queries.