fixed is_mixed_profile()

Elaine encountered another bug, this time with regret. It turns out the
is_mixed_profile() function was written by a dumbass. The same dumbass believes
he has fixed it.