Bugfix: getLocation was trying to concat strings and lists