Fixes an issue with basket loading