Issue #425 added solution proble_type check