Fixes #5917 - Content search ambiguous SQL id error

Fixed a faulty pluck call