Fix for a bug introduced by port references.
Fix for a bug introduced by port references.

EricssonResearch/calvin-base,EricssonResearch/calvin-base,EricssonResearch/calvin-base,EricssonResearch/calvin-base