check for null viewport on dataset recovery