Check for undefined collection