Issue-40.  Fix assert in message_types bad ver

@ShreyaPandita  Please review