optimized time bounds queries to use native SQL with a subquery (experimental - needs to be tested on staging)
Merge remote-tracking branch 'upstream/development' into development