#611 make sure isModified() won't break if switchtime is null