update hive queries with IP filtering (bug 1061734)

fixes [bug 1061734](https://bugzilla.mozilla.org/show_bug.cgi?id=1061734)