Fixes a bug in which only a single message is displayed in some inbox