GROUP_BY report now obeys the APP_SESSION.
An additional where clause was added, which fixes #12.