setDeletedAt now accepts null as a value