Fixes media uploader issue to ensure non-approved file types are not saved