two fixes for roster presence accuracy; fixes #245