Fixes #1256 : Updating user posts breaks postbit

1. Fixing post pid which was wrong.
2. Invalid code chunk removed. What is the logic behind checking "If not isset" inside "If isset" of the same thing?
Merge pull request #1275 from demonate/patch-2

Fixes #1256 : Updating user posts breaks postbit