Correcting class name for missing relation exception