Fixing bug with incorrect assertion, that somehow had never been triggered now, but could easily be revealed with the new test added here as well.