Don't cast pk to int (again)

This commit: jezdez/celery-haystack@39edd7f86fc5c0ddf69d73ebe5114163b682ddfb was overwritten by a bad merge here: jezdez/celery-haystack@4c434bf78c5ca3db9e7d813d1d3d826cfc609d03.