Nesting of $A_p$ classes