Deleted scope in category model