Updated SQL to handle UTC offset w/ case statement.