Fixes bug 916159 Adds a 5 minute window to query