Bugfix where wrong key was used in boundary info