Changed return object from _readnxclass

Correcting a typo in the previous fix.