Remove unnecessary endif after last commit