Fixed possible trending bug