Fix for schedule command type