You were fine, OP. You did the right thing.
I used to wait tables. I saw what people did to the condiment containers (ketchup, S/pepper, etc.). Some really gross things. We were told to simply wipe the tops off, with the same rag that was used to wipe off tables. Ewww.