Fixes model inhertiance bug for forms