[ORB-233] bugfix: activeOrPk() doesn't work correctly if the passed pk is a number string