Company search by email_domain doesn't work

This is not covered by tests yet, I mainly patched this so I could do some experiments with the linkedin API.
But hey, it's a start :)