Fixed bug with tags (string vs. array).