fix DataSourceConfiguration.all

for some reason it passes tests as implemented, but in practice needs
this change to work
Merge pull request #5069 from dimagi/pillow-fix

fix DataSourceConfiguration.all