added support for conditional deletes, model names with multiple underscores