FIX: Take parameter 'filteredClass' into account