[Cookbook][Form Collection] Fixed remove code with Doctrine

It is just that the tag should be removed from the task, instead of the other way around