You're right - there's a bug in the code. It's amazing this hasn't been discovered before - I suppose appending using this method is very rare.
We've made a fix - email support if you'd like to try a patched DLL. The official fix will be in the next release.