Correctly compare by ID