Better logic this time

Signed-off-by: Ken Barber <ken@bob.sh>