move check for enabled details
Merge pull request #2269 from dimagi/enabled

move check for enabled details