added fix for page-sso-post-migrate and fix for failed inserts