Fixed a regression on the `push` function