Optimized code tweeking activity preconditions.
Released version 1.9.6