Fix uidvalidity_cb in inbox.console.