[865402] Fixed custom validation bug