Remove unnecessary else in example