trim.pbs: Minor bug fix