Flipping around a little logic.

Signed-off-by: Ben Corlett <bencorlett@me.com>