Fixed incorrect nesting of list element resulting in list element being removed from the editor.