Add string comparison for exists