Fix for change to the way amount of items is handled which was causing tests to fail.