prevent internal error from creating a feature/product with an existing name but different type

fixes http://manage.dimagi.com/default.asp?98072#557321