Fix infinite loop with FactoryGirl