Correct a bug where tags were undefined
Merge pull request #40 from tcomte/bug

Fix a bug where tags were undefined