Fix error in alternatives validation