Workaround for bug in couchbase, set group_level last in query