Steps to reproduce the bug: Create 2 prims spaced apart, select them, copy them, rotate them 90-degrees so they are perpendicular to the other 2 prims, and undo it (ctrl+z or Edit > Undo).
Observed results: The prims rotate but stay in place and don't change vertical position.
Expected results: Undo should work correctly.