Got filter function working with searchDisplayController although its deprecated