API: Collection search did not work properly