I can confirm that there are no problems with that code.
Your problem (not you Paul ;)) must be in code you did not post. Move all of your code into 1 file. Compile and run ONLY that file. Then post the EXACT contents of that file.
Printable View
I moved some code around, and changed some stuff. Not sure what I did but the problem seems to be fixed now. I'm fairly certain there was a double-deletion going on.
Thanks for everyone's help anyway.