Fixes, enhances, printed output

- Undefined indicies are fixed
- Should now show how many posts were affected at the end