Added initial support for pseudo standing queries.