Fix bug that threw 500 errors when using api/v1/.../instance,machine,size.
Fix bug that threw 500 errors when using api/v1/.../instance,machine,size.

	modified:   core/models/instance.py

CCI-MOC/GUI-Backend,CCI-MOC/GUI-Backend,CCI-MOC/GUI-Backend,CCI-MOC/GUI-Backend