In his Beta 4B post Brad mentioned that this should be fixed but it's not. You can at least catch the game trying to do it and stop it if you go into the game options screen and put an X in the box for "prompt me before harvesting a resource".
It doesn't happen all the time but often enough to be a pain.