Fixed filter

Previously did not work with multiple emails.