Got the query modified