Police praised imams despite extremist posts