Update queries for OpenDJ

See https://bugster.forgerock.org/jira/browse/OPENDJ-744