Check if prefixes are enabled and adjust accordingly.