I think you made the right decision. Your daughter is 5 years old and the dog is getting more aggressive. This is a good thing the trainer kept the dog to help not have an accident with the child. Your boyfriend may or may not have helped ? Is he well versed in training dogs to obey ?
Does the dog react differently to a male as opposed to you ? He may very well be the pack leader and your a member ?
I miss my dog when I take out the trash, it's normal and he misses me and barks until he sees me return. When my wife comes home he goes berserk wanting to give kisses and she must set down her keys and purse to allow him facial access.. It works both ways. Good luck !!!