Little update in 'is transaction managed' checking logic