Repaired a bug in triplesWithObject