Fix #1730 right id column used

As title says.
That was probably the reason why it was originally written that way. Thanks for pointing it out, I fixed it in [2db9a9e](https://github.com/CZ-madA12345/mybb/commit/2db9a9e1e6050de29c76e7d76fefb872c703c417) commit. When tested, everything was normal now, even post reports.