Fixed issue #8775: Misleading error message when attempting to re-take a closed survey