Tries to avoid problem with single-block loop