Fixed relative time query objects inside api/apiStatistics.js