Fix for bug in internal to external converter and tests

Bad copy pasting led to this. DONT DO COPY/PASTE KIDS!