fix logic (invert it) since a deleted item should have .deleted_at != null #599 et al