Sorry as I don't have the coding standards well documented in the project. 

This should be ```===```

Also {} with all if statements. 

Thanks for your PR :-)