Fixed syntax error and coefficient for aforementioned condition.