Added bounds to schedule traversal