Web: added validation for snake selection