Fixed bug where single comment in editor would cause exceptions due to resolve path logic not detecting elements only.