Removed unnecessary subquery