ENG-4432: Fix extension check in PersistentBinaryDeque.