fix deployments page 500 (though not sure if this ui still works sensibly)
Merge pull request #2832 from dimagi/dep-fix

fix deployments page 500 (though not sure if this ui still works sensibl...