Simplification if trying to set no elements
Concerning #753: Attempted fix
Concerning #753: Attempted fix (2)