Fix false assert trip