In my experience with cats, litterboxes need to be in an area where there is no traffic and they have some privacy, also away from their food and water.

I hope your solution helped. Not being able to go into hubby's study isn't the WORST of scenarios. She'll get over it.