Fixed small bug in max pooling.