(1) Simplified method to get the sub-activities (same first and last act)
(2) minor bug in plans consistency check
Authored by: agarwalamit 2015-06-22
Parent: [r33526]
Child: [r33528]