Accidentally pushed older file - this fixes a logic error (used to be 17 lines, now 19)