Found the culprit, the domains were no longer assigned to any user in the root_cwp database in the domains table.
I deleted the users, recreated them and again same problem, they vanished after some time from that table.
So i guess this might be something to be looked into.