make non-decimal coordinates more robust against null values to fix problems when inserting positions