fix issue with resource ordering opdemand/deis#32