Fix indentation and hence logic.

else looks like it should be associated with if.

So unindenting to make it so.