Fixed issue finding breaks where last break would be omitted