I totally understand what you are going through!! We were dog sitting for my cousin. She had two dogs, a shih tzu and a terrier mix. We had no problems with the terrier mix. But the whole time, the shih tzu(female) tried humping my dogs.  She was constantly doing it. The little ones were scared of her and would hide the whole time and the bigger dogs got really mad and got into several fights with her. She finally learned that at our house, that type of behavior is not allowed. She wore us out, every minute or two we had to always say no and correct her. The dogs went back home to their owners Friday and I know what they learned here is a lost cause. They never correct their dog for doing this behavior, they don't see a problem with her doing it.