Reverted the query