minor UI fixes on table search and sorting