added children filter to the location API to query per type