fixed duplicates error when submitting a recipe twice to the grocery list ... 

as well as updated logic of grocery list ingredient to remove the blank space if ingredient amount and type are null