Fix weird lua errors relating to tContains