Allow deletedAt to be nullable