Search matching now happens by looking at each input and ensuring that a match
fits across all inputs, instead of just one.