Fix a error log issue for session not stored by peer and by address