the dark period in your lighting schedule allows the plant to produce the chemical it needs to be female. The long dark before switching to flowering could, in that sense, create a higher probability of a female. Flushing the growing medium of the nutrients used for veg stage before flowering...