IntraHealth: Added handling for deleted Locations in fluff calcs.

this if (and the one in get_location_id) is redundant since `loc` would already be None so you can just return it