Cleaning params for find-refs - references #336