Capitalized the first letter of the class name before checking for existence in the filter