Subjunctive (or conditional) mood
...the same forms of past indicative that were used in the first type , but they have acquired another meaning in this particular context, or else...
a) In subordinate clauses of subject, beginning with conjunction that after impersonal turns such...