Fix assertion for gifts projects