Introduce safety checks for student number validation
Users reported that the old app ended up in a state where some submission were in a validated state, even though there was no student assigned.
We should introduce a safety check that ensures that the database never ends up in this state.