Fixed the change gender for tfs 1

Change gender was not working with TFS 1.0.