Fixed #297. Allow to filter plans by passing email to the filter.

The issue occurs that we didn't pass the second argument the plan name
into _check_plan_by_email().

Though the code is not very efficient. See #304.
Merge pull request #305 from yeukhon/issue#297

Fixed #297. Allow to filter plans by passing email to the filter.