Animal companion AI fixes.