Fixed infinite procurement loop, closes #763