Fix for the case when min | max | value is set to null.