Fixed logical issue at eloteamrestriction