Fixed sql on Intitution method to get courses or institutions using evaluation filter

signed-off-by: Fabio Teixeira <fabio1079@gmail.com>