[1328] Fixes dataset new templates with missing data causing JS errors