Fix old media modal handling of single file limit