Its unfortunately not a bug, but is supposedly being looked into by the dev team. Hopefully they will change it so its effect is not wasted upon death/job change/ or use of another potion.