bug fix for mongodb spatial geometry