#6769: More nuanced approach to merging arrays.
Merge pull request #6807 from openscholar/6769-tabs_caching

More nuanced approach to merging arrays.