Fixed bug where filtering rows using regex did not work consistently.