Add min max parameters guard conditions