Fixed get_log_expirations call