Fixed crasher in lineNumbers.py plugin.