Duplicate Editors

Fixed a bug in which duplicating multiple editors at once failed.

Signed-off-by: Oz Ramos <>