Fix filter selection in FilteredConnection
Created by: eseliger
On the first filter change, the same values as shown before would be displayed, albeit they are being fetched.
Because the map wasn't copied, the internal state of the previous value also changes. This fixes it.
Closes #16912 (closed)