Revert from check_format back to set_format in the before_filter