Fixed bug for long names in catalogues select - upload.php