Fix getNumberOfObservations: old getCachedResult call

Must be missed by the latest merge ...
Fix wrong dimension element adaption

There was no new URI generation for dimension element relations
in the observations. They stocked with the "old" dimension element
uri.