Avoid fatal errors during import

#6342 
![selection_023](https://cloud.githubusercontent.com/assets/99186/3488361/b3f57c88-04df-11e4-9101-6270fb1b761b.png)