Victory condition check fix