Core/Tickets: Don't try to save the same sub-survey more than once
Warning fix
Merge pull request #12215 from Trisjdc/warning_fix

Warning fix