Changes to make the CaptureChangedRecordsFilter work with numbers

First draft on making the filter work under the hood on long values.

Fixes #63.
missing curly brackets here.