Fix small bug with media to work with group field