fix #12494: prevent search result table crash in Insight (rebased from dev_5_0)

Try reproducing http://trac.openmicroscopy.org.uk/ome/ticket/12494 -- especially, try results with different name lengths and change the column size to make sure that the name truncation works appropriately.
--rebased-from #2868