Rally fixes

- Simplified conditional in update_task_status
- Added validation for card type and card statuses