Add guards to displaying missing data for DMP and self-submission
Tidy up detail.py of self-submission