Domains module expects an ID not a string, fixes #6635 Closes #6635 See merge request !1844
mentioned in commit a139dde6