Fix #1045: whitespace-separated queries in web