initial support for deleting by foreign id