#914: Improve behaviour of the identical validator