Ensure that exiting post_result early does not leave a database transaction open
Fix a minor typo in comment