Added helper method for extracting Key from Location; Fixed pulling wrong key.