Corrected issues with check_get_wms_image