Make this query work for everybody

Made a mistake using our local roleid, when we really should've query the roles table for the student role. Fixed.