Don't assume answer in entry constructor

Added a condition to test whether an answer is given when a new entry
is created.