Fixed a segfault in the earlyloopsolver