modified queryFreeTimeslots

-added condition for floating tasks
Revert "modified queryFreeTimeslots"

This reverts commit 7c841f6161681175b76b973b4efd46f2cd0ed60a.
Merge remote-tracking branch 'origin/logic' into logic