Fix use of boolean, integer or float fields of the edited object in cms_edit template tag