Fix #1267: identical validator allows to compare with any input