Determining $current_status_id before using