Need some help with window resize to bottom half

Hi,

I want to setup 2 window resize actions (up and down), when triggered it would make the window fill top or bottom half of the height, while not changing the width of the window.

This is different from the existing "Maximize to Top/Bottom Half" so I'm trying to implement my own with "Custom Move / Resize Window". I could get the up one working, but not the down one. Which I couldn't figure out.

Here is the working "top half" one:

But the "bottom half" one don't work: The window still want to stay in top half of the screen somehow.

Any idea what I'm missing here?

Thanks