Removed bug in file dialog file sequences parsing which could potentially crash the software.