fix showing of treatment factors when using previous trial