Bug fix: store_nonce was not searching at the right place.