Removed unneeded else ifs, because the previous if is always returning.