calculate bounds should handle null geometries
Merge pull request #165 from patrickarlt/master

calculate bounds should handle null geometries