Add support for intervals of time and granularity to MLS queries