Fixed query in user-post-info to restrict subselects to the thread in question