issues in id=0 case

ID = 0 is more or less correct numeric ID value and should be treated as such.

Fixes:
* Grid could not delete records which id=0 (in controller_data_array case)
* controller_data_array could not delete or update records with id=0