For ENG-5425, fix bugs tracking snapshot buffer permits