Fix _run_check to return correctly