Fix bug in epub navigation.