Fixed small bug in getClassType() function.