Added the assertion for a stronly prefered media format.
Changed argument order on assert path.