Don't allow missing partner id to cause a 500 [PD-314]

All tests pass.