Added a unique filter to the dependencies. This wasn't working
properly before because it would implicitely return the results which
was sometimes an empty array. This would cause an exception since we
were expecting an ingredient.