migration bugfix: forgotten _ in get_references pattern