Dislike does not always mean that the prayer is legally invalid. The text explicitly affirms validity and then mentions dislike, so both must be retained.
Facing the imam face-to-face in this specified internal arrangement is valid yet disliked. The next case explicitly states that the prayer is not valid, which is a materially different result.