An unusual place for a tadpole

I found this Ranitomeya uakarii tadpole dangling from a Costus amazonicus today.  I’m not sure how it ended up here as I check the tank daily and this tadpole looks to be about 10 days old.  My best guess is that this Costus grows so fast, the egg was laid in a newly formed leaf and then the leaf unfurled and the egg ended up at the newly horizontal leaf tip.  But, no way to know for sure!