Fix the comparison: we should be able to see the entry anyway if we can manage it; alternatively we have to check for read permissions.