match function expects a source_id or an array ref of source objects