`Unexpected behaviour of params hash` fixed