Nit. This conditional is not needed.  It should just fall through with changed = False