Fixes key error for dataset_temporal_bounds

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

Fixes key error for dataset_temporal_bounds