primaryKey() can an probably will return an array in the future. You might want to make conditions differently.