mock_dynamodb2 query fails when using GSI with range key if target table has record that have no range key attribute