Fixes #1198; Clear post cache on update of fields; Fixes to pass associated unit testing