Fix bug when media file group is empty