These were previously only applied for the first and last operation, respectively. Now whole operations can be skipped if they are completely outside the specified range.