Cannabis plants will sometimes start producing three-fingered leaves when exposed to light stress. Plants in general get quite set in their ways. They rapidly become used to their environment, and any major change can cause them to feel threatened and stressed.
If you sorted the problem keep an eye on the new growth