Made sure that SDF importer generates correct follow restrictions

The order of the cases caused the LAYOUT? to never hit