Fix domino agent issue #1604

Fixes #1604