Restore most-recent return code match in if()/elsif()

This puts the old behaviour back of matching the most recent
return code, not the highest priority one.

NOTE: assuming this is actually the desired behaviour of course...