I should quit while I am ahead…
Sometimes you can’t see the wood for the trees. I had made some changes to fix what looked like a bug in the Add Friends search screen (ie, when you select the user with the tickbox and click Add Friend – sometimes it wasn’t adding someone it should have been). Unfortunately I had totally misinterpreted…