Right, it took me a couple of re-reads and I (non-native speaker) ended up asking ChatGPT about it and yes, the sentence is worded incorrectly