Updated behaviour for negative values of the fifth input argurment, similar to mysql