Fix profile filtering