Fix crash when selecting invalid CRS in new spatialite dialog