SQLException ignored when retrieve status with same ID