Corrected a bug in livesearch. Updated the views accordingly