Fixes #8 - Bug in time slot scoping