Ensure consistency between fruit class and fruit type