Make $recordarr as available arg in filter