limit input values for last transactions from 1-5