Fix #29 - Error after submitting ad hoc analysis