MDL-27703 gradebook: altered an sql query in the user report. join with no on clause...