Temporal cache fix
Fix a crash when asking for a nonexistent timestep* in a temporal dataset after applying a temporal dataset cache.
The behavior is now equivalent as the one without applying a cache.
* Can happen for example when opening 2 or more datasets with different timesteps, or by using the ForceTime
filter.
Backport: release
Edited by Thomas Galland