Implementing special case for NONE filter in repo (which fixes LdapTest).