support 0 pk by checking if the pk is not None