valid_ref_boolean set to null if missing ref

* if no ref is available the valid_ref and valid_ref_boolean is set to
null.
a query like
SELECT min(`valid_ref_boolean`) as valid_ref, count(*) FROM
`check_participating_organisation_ref` group by `valid_ref_boolean`
gives overview of missing, valid and invalid ref's.