bugfix for queries referencing pk value in mptt-models with non 'id'-named pk field