Bug 1040881 - Searching doesn't work on contacts with middle names

Better to do this split outside the `for` loop, we will need it just once.