Two ridiculous AI bugs

The Temple was full of relics, but the Pharaoh tried to put a relic into the Temple over and over. There was also an empty Temple. It countinued until the end of the game and I got the chat message about relics over and over.

AI created so many Mining Camps, that the villagers eventually stucked.