Check type before comparing levels