Added a check to discard incoherent data of stadard objects when calculating extinction coefficients.