Calendar bug, show workflow buttons only if active workflow exists. Fixes frappe/erpnext#1550