Fixing prefix rendering in case insensitive mode