Melanie/Dileep | #3154 | Fixing django error thrown when submissions is edited