Fixed dataset check bug.
Merge branch 'test' into dev