Fixed issue when no message in inbox