It's not the definition of omniscient that's the error. It's equating it with double predestination. That takes two more steps.
When God created the world did He know absolutely everything?