Fix double firing of validation error

Fix #29