Wouldn't it be better if you access the profiles (on the search list) through the userID[1] instead of the usernames[2]? That should fix the problem as well.
I've also noticed that the search could be optimized a bit (unless this is done on purpose). If I'm not mistaken:
BPIP: WHERE userName LIKE 'StarScream%' (Find all names that starts with StarScream)
Forums: WHERE userName LIKE '%StarScream%' (Find any name that has 'StarScream' in any position)
I find that using the second way is better.
Also, I have a question regarding the banned accounts, are you getting them from the modlog? does that mean that any account that has been banned before BPIP won't show as 'banned'?
[1] https://bpip.org/profile.aspx?id=815246
[2] https://bpip.org/profile.aspx?p=murat