py: Fix bug in mpz_and function.

Addresses issue #610.