Fix ambiguous else statement