BugFix: Delete function return 500 error if GET parameter does not exist. I chek it before i start using it.