another if statement attribute ordering thing

fixes #222

Signed-off-by: Matthew Thode <mthode@mthode.org>