Hotfix weight table, writeback, chunking test

ok, Fix that }. The name of the variable is not great. What about weightjoincondition?