Added a conditional statement which excludes civil cases