Added in_contest check