Removed unnecessary query.