Fixed undefined tag parameter in tagreader.py.