Adjusted open congress issue #5 fix to work with newer versions of ruby than 1.9