Fixed search form bug