Fix bugs handling manually set trial sizes in traster