compare types of questions with same id