Fixed restricted parsing bug to include all the restriction criteria.
Fixed manifest activity.