I had 2 switches in the hallway - 1 for the hallway light and 1 for the outside security lights. I removed the light in the hallway and replaced it with one on the stairwell as there wasn't one. When everything was working I noticed that the downstairs bathroom (adjacent to the hallway) light only works when the outside security light is on. The light on the stairwell is operated by 2 switches (upstairs and down). What have I done wrong? Help please!