Bug fix to ensure only one of each plot type is added.