Fixed grouping of errors bug.