Bugfix when editing units, wrong check of media content id