Bugfix for when the row count cannot be read from XLS file