fixed notebook checking code
replaced nbmodel.orig_nbformat by orig_nbformat
Merge pull request #6851 from v923z/master

fixed notebook checking code