out of bounds error fixed
Merge branch 'master' of github.com:mrloop/sync_gateway