adds status check to leaders to extend the former staff section functionality to "leaders" as well. also fixes a bug in the mysql query(#170). (NOTE: this is the same code change as in commit c2cbacf. Due to poor planning on my part I pushed it first to 1.2.7 even though I needed it in order for the former staff section to function (#100).