Improved transaction handling.
Fixed transaction in RecForm.onPost().