Changed advanced.html to work in Safari browser - had issues parsing DateTime from query