Cast inbox queryset to list before using __in operator

Fixes #137