Use dict value instead of object method
Use dict attr task_runs
Fix bad variable naame
Merge pull request #42 from PyBossa/issue-query-perf-improvements

Issue query perf improvements