Testing if loop curve exists prior to using it.
Merge branch 'missing_loop_cv'