Stephen - does the template code work for "t/f" and "0/1" both? (if not we should think about changing the engine ...)