moved form query parsing from selection to keywordsearch