Filter out undefined args in WatchTask