Fixed bug with isDeleted() return true

Fixed bug with isDeleted() return true when deletedAt field is null