Why did this change from an elif to an if? Wouldn't this be changing behavior?