You may need to reset your pokedex unfortunately.
That's what I had to do, I had the exact same issue. There's a code for that on 1.0.1, but I'm not sure if it's working for 1.0.2
---
EDIT so i don't doublepost:
On another note, is there a code that prevents wild pokemon from running...