updated date range search

refs #4564

corrected tests so we are testing for correct results.
updated advancedAction.class.php to pass all tests.