fixed issue with retrieving datastore objects by key