Fixed parent-child errors in function and/or if statement and function parameters reference...
Fixed a forgoten accumulator == operator that I did not really worked on ( copy-paste garbage )