bug fix - returns an empty array even if tag_list is equal to nil