I encountered a similar bug with an NPC asking me to find their dog in a house 5 map tiles away, before zombies had even spawned so it was simple in and out, the dog even ran up to me as soon as I approached the house. I bring the little furball back to its owner who thanks me, then the dog begins attacking the npc.