Fix search-form example in chapter7

See if its an empty string.