I can confirm, newly created wallet shows as having only one key pair with dbdump.py.
I also had a problem where I lost a few bitcoins that were sent to a new address, when restoring the wallet from backup (the difference was the last transaction only).