Fixing remove_wanted_p function

The remove_wanted_p function isn't working properly; it incorrectly strips content other than paragraph tags, partially because it reversed the beginning and ending and partially because it was using double equals for comparison on the return value of strpos instead of triple equals.