Update logic to check whether or not the format should be stripped from the view class name prior to returning.

Signed-off-by: Don Gilbert <don@electriceasel.com>