LPS-47661 ArrayIndexOutOfBoundsException occurs during content edition if the Structure has been edited

Very nice fix @moltam89! :smile: