Fixes bug when submitting a new solution.
Merge branch 'dev'