Corrected check for finished challenge