Fix submit button when multiple mentoring blocks present.

Another fix for the case when there are multiple mentoring blocks.