Fixes #780 - Media Manager category insert issue when greater than 10.