Re #7679. Puting an endif in the right place.