Fix duplicateKiller function (again!)

Replaced original query with a "get_col" function call to prevent php
throwing warnings.