fix resource problem with variable duration intervals
fix resource problem with variable duration intervals

ThatRfernand/or-tools,or-tools/or-tools,legrosbuffle/or-tools,ThatRfernand/or-tools,google/or-tools,legrosbuffle/or-tools,google/or-tools,ThatRfernand/or-tools,google/or-tools,or-tools/or-tools,or-tools/or-tools,or-tools/or-tools,or-tools/or-tools,google/or-tools,legrosbuffle/or-tools,ThatRfernand/or-tools,legrosbuffle/or-tools,or-tools/or-tools,google/or-tools,legrosbuffle/or-tools,google/or-tools,ThatRfernand/or-tools