Fixed: error when bulk editing with Postgresql