Play montage on Enemy AI throwing player character error

Update! I reconnected the branch node but left the Boolean check unconnected and it worked fine but as soon as I connect it back same problem. Still have no idea as to why its throwing that error on the play montage though. Cause if I disconnect that it just throws that error elsewhere anyhow.