only one query needed for exercise logs.
Merge pull request #555 from bcipolli/efficient_exercise_logs

only one query needed for exercise logs in knowledge map.