tweak so bulk edit works with both hierarchical and non-hierachical taxonomies