Fixed undefined index in Contacts listing