Minor changes in amdb conversion