code to reproduce https://github.com/tepi/FilteringTable/issues/52