Fixed bugs related to the "published" field, boolean fields in the editor have to be handled carefully, values should be '1' or '0' for the select element