Fixed else if.