[Xymon] History broken after cleaning up old data with trimhistory