Fixed wrong handling of searches when no acl properties is set to true