Fix #1580

Header's quick search should also scan messages.
https://github.com/mybb/mybb/issues/1580