The Pennsylvania Supreme Court ruled the Commonwealth must prove as an element of corruption of minors that the defendant violated an offense in Chapter 31 (relating to sexual offenses). Section 6301(a)(1)(ii) was amended in 2010 to provide for additional penalties when the crimes that corrupt the morals of minors are sexual offenses.