Reference correct variable in DocData status update method.
Merge pull request #592 from benkonrath/cowry-cleanups-fixes

Reference correct variable in DocData status update method.