Corrected if/else indentation error