Handle graphite prefixes correctly