BUG: fix for #451 handling W or WSP in higher_order_sp
Merge pull request #456 from sjsrey/B451

BUG: fix for #451 handling W or WSP in higher_order_sp