[Bug 884778] Advanced search doesn't validate