Fixed bug in putupforlending workflow