Revises has_custom_tax function