if an empty array is passed for binding then behave as it was a NULL