Assume state='directory' if recurse is set and previous state was 'directory'

Resolves this issue: https://github.com/ansible/ansible/issues/2067