Fixed error 422 on commit. Fixes #128