make domainmetadata queries case insensitive #903