Make sure :assigns are copied to the controller before checking them.