Like this? (more rubyish?)

Does that mean you agree that this is a bug? Would you like me to try to figure out a test?