Fixes trailing comma error message