One late night of tinkering when the lights are supposed to be off will not harm anything. It takes more than that for plants' cycles to get screwed up. I have done it many times and have never had a hermie or other related problem.