Bug fix in online search code.