Test new logic

Old logic was faulty. Returns needs to be 0 or 1, not 0 or non-falsey
value.