Fix labels QA 1310
Fix labels QA 1310

The next line of len(instL) caused an exception when instL was None.

adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp