Ensure that li converter can handle non-parent-context