Added old_reference_id to filter options for patients

Fixes #50