Fixes a bug with message grabbing.