Bugfixed join_field class (issue #47)