I notice you are overriding the
OnEntityMarkHostile hook to always return true. I believe this will affect player-deployed peacekeeper turrets as well.