if query in NS_INSTANCE_FILTERS:
query_data[NS_INSTANCE_FILTERS[query] + '__icontains'] = value
# Query the database with filters if the request has fields in request
if query in NS_INSTANCE_FILTERS:
query_data[NS_INSTANCE_FILTERS[query] + '__icontains'] = value
# Query the database with filters if the request has fields in request