fix rake task: filter instead of raise