Gate fast-case contains on both elements correctly

Fixes #6