*Code cleanup and enhancements of interests matching sql queries to bring in line with the Drupal 6 version *#364942 by rayvaughn - Fixed admin permissions bug.