Found the solution:

when you move a master product using EPA it should reset the master category id to the new category. IF not, please try the "Reset ALL Products Master Categories ID" button in Admin -> Tools -> Store Manager.