Fix check for stale NICs

Fix the check about whether a NIC(port) in DB is stale, which could
result in the NIC to wrongly be deleted from Cyclades DB.