tightened conditions for successful data build
Make small code fixes according to @tadatuta notations to pr
Merge pull request #3 from bem/BEMINFO-329

tightened conditions for successful data build