Small sample sizes don’t invalidate studies. They reduce the statistical certainty, but can still be accurate and there’s formulas for gauging how accurate a given sample size is based off the standard deviation.
The student only part does mean a sampling biase, but that doesn’t invalidate things either. Mostly just limits it such that we can only make the claim for students and not anyone else (but it’s still a meaningful result and provides justification for larger studies).