Fix semtype for 3.0