Fix error in dupliate effect validation