Only deduct costs in grant is successful