taking first knockout paramater into account on search function