Add some asserts to check for negative trims.