Modified uniqueness in attendance validation