Correct condition for downloading next chapter (cherry picked from commit ee684cbef52a0f9ec9873d9e9d854d95bad5df66)