Fixed deleting Competitions, CarClasses. Code refactore.