I can't investigate it deeper right now, but there seems to be some edge case probably caused by weird metamethods or references. I tagged the relevant commit in my host code [here.](https://github.com/raingloom/verbose-octo-garbanzo/tree/STPbug)