Fix type of TaskClass.Input.getModified()