Only listen for changes on the model if the model exists
Merge pull request #334 from Connexions/fix-advanced-search

Only listen for changes on the model if the model exists