Use Optional#contains instead of Foldable#elem. Issue #28