Update lessTabs.py

Minor bug fixes