Fixed issue with LibraryFilterBuilder returning FilterDefinition instead of just the filter class.