fix problem with __getitem__ when look for groups in doubles on django1.7