Fixes #12

Fix included checking output of validate function