Package profile update error since katello 3.15

Problem:
Been getting these errors on a bunch of machines since updating to katello 3.15

ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint “katello_host_installed_packages_h_id_ip_id”
DETAIL: Key (host_id, installed_package_id)=(265, 0) already exists.
: INSERT INTO katello_host_installed_packages (installed_package_id, host_id) VALUES (15110, 265), (15236, 265), (15433, 265), (64096, 265), (80255, 265), (275425, 265), (275427, 265)…

Is this a known issue or is there anything that i need to do to fix this on my end?
Let me know if you need more info, i’ll try to provide as much as i can.

Expected outcome:
No error

Foreman and Proxy versions:
Foreman 2.0
Katello 3.15
Latest updates as of this morning

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

You should find a fix here: Tasks ending with warnings after Katello 3.15 upgrade

or wait a few days and 3.15.1 will be out and should include the fix too.