 
 
     filters.filter 'percent', ->
-      (value) -> value * 100 if value?
+      (value) -> if value? then value * 100 else value
 
     filters.filter 'imageContainerTitle', ->
       # If the image container name ends with _reg, then it is a registation.

      # @returns a string with the leading digit sequence converted
      #    to a roman numeral
      (value) ->
        value.toString().replace(/^\d+/, roman.romanize) if value?
    ]


    filters.filter 'moment', ->
      (s) -> moment(s).format('MM/DD/YYYY') if s?


    filters.filter 'notSpecified', ->

                         'qiprofile.tnm', 'qiprofile.image']

    filters.filter 'capitalize', ->
      (s) -> if s? then _s.capitalize(s) else s


    filters.filter 'underscore', ->
      (s) -> if s? then _s.underscored(s) else s


    filters.filter 'romanize', ['StringHelper', (StringHelper) ->
