Fixed a bug in the sea level adjustment.