Oh, Emma, I'm so happy that you found your wallet in tact!
Next time, try a wallet with a strap (or a small bag that has wallet-type organization), and you will never have to take it off, even on rides!
I have an Overland Equipment Placer, and it holds all that stuff (wallet type organization for $$, id, cc, etc.) plus a small camera, sunglasses, anti-bac, etc. It is very small and comfortable, I wear it across my body, and I never have to take it off. I can get stuff out of it without taking it off, too. Now that I have it, I won't travel without it! Baggallini makes a wallet with a strap, too, and I'm sure that you can find a cute one that you like.
I just never thought that you would get it back with everything in it. That is so nice to hear (errrr, read)!