Fix redundant element validation warning