Fixed an issue where navigating to dataset downloads for a dataset with no files could cause a redirect loop, fixes #30.