This means it is not the optimizator program that does the bug. The trigger most likely has just been corrupted or there's something wrong with the code which I doubt because no changes has been made. I guess I will just do the same trigger again and that's it.
Thanks for the help, you helped a lot. And it wasn't that complicated after all.
What about chapter 2?