[-] WS : allow adding product to empty category

When Web Service adds a new product via POST, this gets called with $position=0, but when category is empty count($result)=0, previous test fails and the product cannot be added.