Make heading detection case insensitve