This call has been moved outside of the `SES Realization` loop. This is not a correct modification of the algorithm.

I'm pretty sure this is what is causing the following test failures:

<pre>
======================================================================
FAIL: test_complete_logic_tree_gmf_iter (tests.db.models_test.GmfSetIterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/larsbutler/proj/oq-engine/tests/db/models_test.py", line 509, in test_complete_logic_tree_gmf_iter
    self.assertEqual(len(list(exp_gmf_set)), len(list(act_gmf_set)))
AssertionError: 34 != 84

======================================================================
FAIL: test_iter (tests.db.models_test.GmfSetIterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/larsbutler/proj/oq-engine/tests/db/models_test.py", line 543, in test_iter
    self.assertTrue(equal, error)
AssertionError: 
Arrays are not almost equal to 7 decimals
 ACTUAL: 0.252294938306868
 DESIRED: 0.325913332606476

======================================================================
FAIL: test_iter_gmfs_by_location (tests.db.models_test.GmfSetIterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/larsbutler/proj/oq-engine/tests/db/models_test.py", line 580, in test_iter_gmfs_by_location
    self.assertTrue(equal, error)
AssertionError: 
Arrays are not almost equal to 7 decimals
 ACTUAL: 0.00894558476907964
 DESIRED: 0.0113907944848264

======================================================================
FAIL: test_export_for_event_based (tests.export.hazard_test.EventBasedExportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/larsbutler/proj/oq-engine/tests/export/hazard_test.py", line 273, in test_export_for_event_based
    self.assertEqual(532, number_of('nrml:gmf', tree))
AssertionError: 532 != 510
</pre>