The search input forms now work as expected

The only thing missing now is duplication removal I think.
Forgot to commit a file
Implemented duplication removal in search results