Fix private message crash