fix gui bug when only one compound in the (filtered) dataset