made getMissingSequenceNumbers() inline