Once in ATL I had an issue where after I passed through the WTMD, I still had access to my bag before it went through the x-ray. Without thinking, I reached over to push my bag into the x-ray, and the TSO made me re-clear the WTMD. It was a bad set up, but I can understand the reasoning behind making me go through the WTMD again.
However, it sounds like the OP touched his bag before clearing the WTMD/NOS, so I don't really understand what the TSOs had a problem with in this situation.