SI-7883 - don't iterate over all keys in MapWrapper.containsKey()

This commit fixes SI-7883. I've checked that the new test fails without the changes in Wrappers.scala and passes with them.