[-] WS : allow adding product to empty category

When Web Service adds a new product via POST, this function gets called with $position=0, but when category is empty count($result)=0, the previous test always fails and the product cannot be added. Doesn't seem to happen when product is added via BO interface to an empty category.