889 fix form search

Implements search functionality for forms on project page, closes #889
Forgot to push the correction for ```when``` on this line, will add the commit on another branch.