How to avoid nifty console duplicate entries?

every time I hit key up and enter at nifty console,
that command gets duplicated on history, forcing me to press key up several times to access previous commands.

for now, I am just replacing the history with a cleaned one,
by using a dirty trick that fakes the old commands history execution (but it actually executes nothing), but all that is just a dirty workaround.