Fixed bug causing files with no data to be options for plotting