[#83749924] Improve rake task to accept a sql fragment to restrict the set of asset to update