Fix clear error on nil statements