fixing switching of lat/lon in wfs requests, encoding '0' for None optional values