Fixed lexem id selection for HReal and HInteger.