Fixed broken "Advanced search" link and friends