Fix #1730 right id column used

As title says.
This breaks the username for profile reports though, doesn't it? `$report['profileusername']` is used for them, reputation might require another `LEFT JOIN` and `AS` username selection.