CRUD Bug Fix

The changes made to enable ingredients have caused conflicts on editing
and category functionality. This fixes all the bugs I had.