Fix 500 error on article save