Added support for a deletedAt property and excluding models that are deleted from queries