Updated to fix single or empty checkbox updates.