Brokers often have limits. The EA is checking the minimum distance where SL/TP can be placed and if the requested value is lower, the minimum is taken. I think this is the better way, because otherwise you will get error messages such as 130 Invalid Stops
Take a look below StopLevel Minimum Distance Limitation here - https://book.mql4.com/appendix/limits