Removed redundant else and fixed indenting.