Debugged issues on compare and search pages.