Fixed another bug in listing messages. All RSpec tests pass.