Search with 2 separate directory pages not working