EDIT: I made a mistake, your $post->ID suggestion fixed the issue! I forgot to change the post type after I made some changes to the post type holding these details yesterday evening, that’s why it didn’t work.
Thanks a million for your help, I really appreciate it. 🙂