Head with status action stack level too deep

fixes https://github.com/rails/rails/issues/13905