Fixing bug that returned more than one instance of specific exam