Not an expert, but from my experience there should be no problem...probably would help if the male is a little larger.
Before my upgrade I bought a M and a F at different times, and kept them in separate tanks till the upgrade. My M reverted to a F, and after I put the 2 together in the new tank, within 2 weeks, the original F turned into a M! A year later, they're still very happy together.