Fix for handling single end files.