Presumably this will be an empty queryset if `workflow` is `None`.  Could you add a comment explaining this case?