Fixed some erratic saving issues.

Signed-off-by: Mike Howe <dockter@almuramc.com>