redmine issue #1625 fixed the bug Advance search-Witout selecting gender if age is selected say undefined