Fixed issues introduced into lithology import