Fixes issue with list