Added skip blank functionality for grouped queries

The skip blank functionality should work for all types of queries that can use relative date ranges.