ENG-4432: Fix NumberFormatException in PersistentBinaryDeque