Add failsafe for incorrect defaults values - resolves #27