Fixed an issue with TensorContraction driver routine

Signed-off-by: Dmitry I. Lyakh <quant4me@gmail.com>
1 job for devel in 5 minutes and 45 seconds (queued for 7 seconds)