Adding c_id in query -refs #6926