Comedian refused to sign 'behavioural agreement' before gig