Update contenta/views.py

don't run if cur_service ids None