Fix schema.errors 'return' statement missing