Bug fixes
- #571: Fixed media session null checks.
