Fixed themata.py to handle reversal of <T Q> and <2 \d{1,2}> tags correctly.