fixed operations on null arrays
Merge pull request #4 from forchtj/johns

fixed operations on null arrays