Utility that filters arguments if they haven't changed