Support multiple guard clauses, fix #294.

@garyb @joneshf Could you please review?