Fixed the show_on and hide_on logic - if we can't determine post ID (and therefore its template as well) always return false and suppress showing CMB.
Merge pull request #260 from humanmade/show-on-fix

Fixed the show_on and hide_on logic - if we can't determine post ID (and...