Changed getShardKey() to return null; returning id caused problems