Two York primary schools will not see their anticipated number of new pupils reduced, the council has said after they were wrongly included in proposals to cut them.