corrected syntax errors in the run_filtered_functions function to prevent server console errors from the run_daily_tests event function