Flipped the else if statment