Fix for PROV-439 Foreign key constraint fails when creating a new list