Fix Issue #10: nstore.new callback called twice.

Replaced scanned check from undefined to false