Fix search page divs so ajax call is only sent if not memeber or pending