Workaround for tags being passed as string instead of array and empty pages array