fix broken exercise_summary - is static has to be in a group by

Summary: Fix for broken exercise_summary

Test Plan: exercise_summary.q should not produce errors

Reviewers: jace

Reviewed By: jace

Differential Revision: http://phabricator.khanacademy.org/D2430