Fix in the type checker: field projection in case of tuples.

Fixes #298.