Follow-up to <https://github.com/koreader/koreader/pull/6195>. Part of <https://github.com/koreader/koreader/issues/4029>.