Description of problem:
After switching streams in 'dnf module list' there are still installed profiles (if they were installed before) from different stream
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dnf install @nodejs
2. dnf module enable nodejs:8
3. dnf module list
See installed profile from nodejs:f26
See no installed profile
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.
The issue is solved by dnf-3.0.1-1 that was released into rawhide.