Fix user invitation search

Goddammit @jirutka!