Fix tern leader mappings