jRuby seems to get confused easily.