Update checks for empty body middleware