Fixed a bug that was unearthed by drf5n. Fixed 'data' method access in ncvariable