PROJ-151: Rescue when object have foreign key and display a relevant message