Fixed bug in custom range search, made it auto-submit