Fixed issue with double deletion of races and items

Reviewed-by: bjorn.