FIX: show search filter only when invites are greater than or equal to ten

Suppress invites search filter when invites are less than ten. cc @coding-horror