Fixed #1439: Extend option overwrites options in the wrong direction.