fix User#recent_threads for postgresql

fixes #105