Fix issue with map tabs. Adding tabs no longer adds multiple tabs.