backwards compatibility code no longer crashes when min,max don't parse
as doubles

Change-Id: Ieef9ab672b0759e58a3167d6011cfd044733eec2