Minor tweaks to bagconverter.