Fixes #7, Fixes #43 - fix an error during save when page analysis is disabled