Fix typo in if condition
Merge pull request #21 from bcrochet/external_data2

Fix typo in if condition