Changed if_can so that it doesn't even register mathpets unless they are enabled.  (preventing an empty row)