Removing redundant else statements.