Liquid error: undefined method `franchise' for nil:NilClass