Fixed per_user deadline problem. Fixes #307.