Fix for the align_tensor.fix user function caused by recent changes.
The tensor checking code was not suitable for this function and needed modification.
Authored by: bugman 2012-05-03
Parent: [r15901]
Child: [r15903]