Fix dependencies not being calculated in some case (construct pattern in let)