Fixes #4641: correct agent schedule computation (used splay rather than interval)
Merge pull request #480 from ncharles/bug_4641/dev/invalid_parameter_in_schedule_computation

Fixes #4641: correct agent schedule computation (used splay rather than ...