Would be nice to have a log entry when this situation happens (helps debugging).