defect/de-22 -- Stocktake Reports generate SQL exception

nparcel/table/jobitem.py
* placed a DISTINCT clause around the job_based_reference_sql()
  method subqueries