Made some corrections to the if tree. Resolves #1042.
Made some corrections to the if tree. Resolves #1042.

feend78/evennia,titeuf87/evennia,jamesbeebop/evennia,titeuf87/evennia,jamesbeebop/evennia,titeuf87/evennia,feend78/evennia,jamesbeebop/evennia,titeuf87/evennia,feend78/evennia,feend78/evennia