I'd verify that your bikes headlight plug is set up for an H4 bulb as well.
I recently swapped the headlights in my Hotrod Stepside to H4's and was told they'd be "plug & play", but as it turned out, they were not. The pinout on the stock plug is wrong for the H4 bulb. The truck has four headlights (two for low/high and two for high). I installed the low/high bulb first, checked operation, and initially it seemed fine. But when I installed the high bulb and checked operation, the high bulb would glow when only the (other bulb) low side was powered. It should've been off completely. I believe the high side was glowing in the low/high bulb as well, but couldn't see it for sure. Had I not had the high only bulbs, I would've never known there was a problem.
If you look at the base of the H4 bulb, and hold it so the pins look like this |_|, the left side is high, the bottom is low, and the right side is ground. Make sure your headlight plug corresponds to that.