Fixes key error for dataset_temporal_bounds

The metadata queries now return an empty dict if there is no data.
Merge pull request #1495 from lukecampbell/empty

Fixes key error for dataset_temporal_bounds