Making sure that we handle the case where primary keys are longs.