Fixed file selection after using search box (CKEditor).

Added CKEditor params to the search form hidden inputs so they persist
after searching.

If this fix looks good, I'll add a test.