Fixing the 'invalid prices' issue