re-add necessary replacement function (oops), correct boolean for use of filter
re-add necessary replacement function (oops), correct boolean for use of filter

mradamcox/afrh,mradamcox/afrh,mradamcox/afrh