added check for model fields
added check for model fields

paulstapor/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI,FFroehlich/AMICI,paulstapor/AMICI,FFroehlich/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI,paulstapor/AMICI,FFroehlich/AMICI,FFroehlich/AMICI,paulstapor/AMICI