oc_discovery: fix bug while filtering eps list
oc_discovery: fix bug while filtering eps list

Change-Id: Ib8fa614974382c89d3663ac86910148f9255f267
Signed-off-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/23821

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained