A row can exist even when one field is missing. Select that column to see how PostgreSQL displays the missing value in the result.
SELECT id, started_at FROM deployments WHERE id IN (41, 45);Show id and finished_at for deployments 42 and 46. Compare their finish-time cells. Keep both rows.