Fixed regex quoting issue in filtered record arrays