Simplified Version of Guards II

- Corrects optimMaxTest