Improved Validation engine for empty models

Updated the validation engine so that it is aware that empty models are
a special validation case and to deal with them as such.