Fixed issue when switching a toMany relationship back toOne. If you originally clicked ordered and switch back toOne, the ordered parameter is still checked YES in the model file and this incorrectly generates the property. Need to nest this check instead of making it separate.