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 #258 from humanmade/show-on-fix

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