EventDaoImpl Updated: query optimized for getLimitedEvents