Removing unneeded else statements.