fixed prepend-contour to use the argument passed with -contour if contour field is absent in database