Removed unnecesary query from daily_summary application.