Fix resolving ingredient dependencies