Guest permission bug

http://dev.mybb.com/issues/2267

Haven't fully tested this.