issues in id=0 case

* 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
Merge pull request #3 from atk4/master

Merge pull request #586 from DarkSide666/master
Merge pull request #588 from DarkSide666/master

issues in id=0 case