fixes styling issue on advanced search

closes #570
closes #599