Use custom validator message instead of the generic one. Fixes #3640