[ticket/11355] Referred proper variable when validating selection.

Earlier PR was referring wrong variable $name_ary. Changed it to
$mark_ary which actually contains selected user ids.

PHPBB3-11355