Fix issue with bindData() not allowing empty fields

This fix is the result of discussion at joomla/joomla-cms#3374