Can't select hatching potion to use after buying an egg

I've discovered this with HabitRPG installed on my computer: if I don't have any potions, and go to the Inventory/Market page and buy a potion there, and afterwards click on any egg, I can't select which potion to use (the "Hatch Your Egg" section is empty):

![hatching_bug](https://f.cloud.github.com/assets/1175986/1146506/02acb864-1e68-11e3-8b38-858e230c5160.png)

Refreshing the page the problem disappears.
So I've modified the condition used to display that form.