Profile Manager and Search Plugin compatibility

I have been using Profile Manager and Search Plugin together and they were doing great. However, just now I re-installed Elgg ver 1.9 and now using both of these plugins simultaneously gives me a fatal error regarding my sql syntax as given below. Can anyone guide me out of this error!

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND msv.string LIKE '%m%'))) AND ((e.type = 'user')) AND (e.site_guid IN (1)' at line 1

QUERY: SELECT count(DISTINCT e.guid) as total FROM elgg_entities e WHERE (((ue.username LIKE '%m%' OR ue.name LIKE '%m%')) OR ((() AND msv.string LIKE '%m%'))) AND ((e.type = 'user')) AND (e.site_guid IN (1)) AND ((1 = 1) AND (e.enabled = 'yes'))