Backport fix to update_lcoation_tree() (Catch case when all is correct
other than WKT/Spatial field)