Fixed issues where some messages from generic-infer were not processed properly.