BP group-o-matic and ultimate facebook integration

I am using group-o-matic plugin which can auto join a user to a particular group on registration based on a x-profile field but it doesn't seem to work if the x-profile fields are being pulled by Ultimate Facebook during registration. I am guessing when Group-o-matic is called during registration UFB has not yet pulled in the data from Facebook for that user. Is there a way to solve this?