fixed Media::getByFilename result passed, ->media_orig should be the same as ->media on duplicates