You’re right. Apollo 8 was originally going to test the LM in low Earth orbit (a mission later performed by Apollo 9), but when the LM was delivered by Grumman it was found to have so many defects it couldn’t fly until at least 1969. And that would potentially push a landing into 1970.