Conditionally populated fields reset in error?