Update HelperController.php

fix bug for postgresql : Invalid text representation: 7 ERROR:  invalid input syntax for integer: """
Update HelperController.php
Improve support for postgresql when objectId="" and not null