Compare IDs instead of slugs