Apply a filter by Custom interval on Commission search dialog

Also update the tests_commissionsearch

Change-Id: Ib40a80d264fe0437207a731c4273245933048ece