Hotfix weight table, writeback, chunking test

@zifeishan WHERE is moved into weightjoinlist, right?