Fixed chunk flags referencing eachother