Fixed template user check.