Fixing an old issue with the pccompl SQL. Strangely enough I though I had fixed it before.