Implemented correct indent levels in stacked if-else statements.