Protective Pets

Have any of you had a dog that was protective of you while pregnant? Example: normally the dog is friendly towards other dogs but it's behavior became more assertive/aggressive (barking and launching itself toward the other dogs). What did you do to resolve everything?