Fixed "null or transient value" error on saving new locations