Send 'entry not found' only when the contact list ends
Add missing parenthesis