(no-ticket) Fix is_onsite_contest condition

Change-Id: Ia2d68521be2542b1e62b49a84f682195c84e30f3
Merge "(no-ticket) Fix is_onsite_contest condition"