Fix LimitExceeded logic, improve logging.