My mom used to have long haired dogs and they often got matted, no matter how much she brushed them. Long hair = mats sometimes. It's not your fault at all!