No idea.
Two things that come to mind first - but both dubious - is that mercury is dissolved by nitric acid in the presence on N2H4 (assuming N2H4 is able to to complex mercury strong enough - but I don't have complexation constants here) or that you did some experimental error (like reversed polarization, or simply error when weighting solution). Have you checked the solution for Hg cation presence?
Why do you use Pt and Hg as electrodes? I mean - mercury is good when reduced metal dissolves in it, or when you need to regenerate clear electrode surface with every drop (like in polarography). Doesn't sound like you need mercury for either reason.