[FIX] Fixes to tables.js
[FIX] Pair logic spec updated in confirmation.py