This is the expected behavior. However it is configurable.
In Identity Portal's Admin UI, go to Environment -> UI Configuration screen and look for the field "strict cart mode".
Change the value from "false" to "true" and save. This should achieve the behavior you would expect.