For ENG-5256, add a precondition check to prevent more partitions then tokens