Fix broken none type in calc custom price