I have to agree with the above. One of the major causes of Hermaphroditic plants is light stress. This has to do with timing (in your case) and leaks (for indoors). I have learned the hard way about leaks, and the scenario you present sounds RISKY