Fixes a couple of buglets in rubyish examples