added conditionals to prevent errors when adminTags/modTags are empty