Looks like you're checking other.id twice.