Maximum number of files not working properly with multiple upload fields