Results related to the upper bound on nonlinearity for resilient and correlation immune Boolean functions