Do we want to assert here?  Would we not be better just LOG_ERROR-ing if this isn't true?  (I don't think we use assert much elsewhere.)