remove data from arguments array before building error message in function failure in lib/match.js