Fixes #1256 : Updating user posts breaks postbit

1. Fixing post uid and username which were wrong in array.
2. Invalid code chunk removed. What is the logic behind checking "If not isset" inside "If isset" of the same thing?