Ok. I think it is working now. The Gender should not be M and F. I changed them to Male and Female and it worked.
Hi kanglinyao, glad to hear you got it working. If you check the imported users, is their gender correctly saved? It looks like the database expects a M or F too, so I wonder if it would have imported that field correctly using the whole worlds Male and Female.