Did the example above not work for you?
There could be other factors happening in your model that could throw this off. If you post a small example we can take a look.