More fixes, focusing on handling search parameter of new position json object.