Error in comparison between TimedTask and Floating task. Edited