Fix accessing a property of undefined when there is an error in getFull
Make sure that dataset / datakey are valid