Add objectClass in filter for basic query