(no-ticket) Fix is_onsite_contest condition

Change-Id: Ie2f5de67b7af1c419ccac7f049d9975aacb6e959