Fixing a problem where the type was not displayed correctly when switching between...