Fixes logic to fail travis build.