Fixing issue with recognizing media block (#35)